import random

f=open('11.txt','r')
new=open('reverse.txt','a')
count=0
a=[]
b=[]
for line in f:
    a.append(line)
    count+=1

a.reverse()

for line in a:
    new.write(line)

f.close()
new.close()
